package com.open.capacity.trade.service;

import com.open.capacity.common.exception.service.ServiceException;
import com.open.capacity.common.model.Remittance;
import com.open.capacity.common.web.PageResult;
import com.open.capacity.common.web.Result;
import com.open.capacity.trade.model.RemittanceExcel;
import com.open.capacity.trade.vo.RemittanceVo;

import java.util.List;
import java.util.Map;

public interface RemittanceService {
    PageResult<RemittanceVo> findAllRemittance(Map<String, Object> params) throws ServiceException;

    void deleteRemittance(Long id,Long remittanceId) throws ServiceException;

    Result saveOrUpdate(Remittance remittance) throws ServiceException;

    List<RemittanceExcel> findAllRemittanceExcel(Map<String, Object> params) throws ServiceException;

    Result insertRemittance(Remittance remittance) throws ServiceException;

    Result updateRemittance(Remittance remittance) throws ServiceException;
}
